package com.yhny.lykj.yuhannongye.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 订单详情
 * Created by lc on 2016/4/6.
 */
public class OrderInfoCModel extends BaseModel{
    @SerializedName("data")
    public DataEntity list;
    public static class DataEntity extends BaseModel{
        @SerializedName("id")
        public String id;
        @SerializedName("order_id")
        public String order_id;

        @SerializedName("total_money")
        public String total_money;

        @SerializedName("total_integral")
        public String total_integral;

        @SerializedName("pay_money")
        public String pay_money;

        @SerializedName("pay_integral")
        public String pay_integral;

        @SerializedName("pay_type")
        public int pay_type;//支付方式(1积分,2余额,3微信,4支付宝),

        @SerializedName("discount_id")
        public String discount_id;

        @SerializedName("state")
        public int state;

        @SerializedName("message")
        public String message;

        @SerializedName("express_code")
        public String express_code;

        @SerializedName("logistics")
        public String logistics;

        @SerializedName("agree_return")
        public String agree_return;

        @SerializedName("time")
        public String time;

        @SerializedName("detail")
        public List<InfoEntity> detail;


        public static class InfoEntity extends BaseModel{


            @SerializedName("id")
            public String id;

            @SerializedName("goods_name")
            public String goods_name;

            @SerializedName("integral_price")
            public String integral_price;

            @SerializedName("money_price")
            public String money_price;

            @SerializedName("goods_nums")
            public String goods_nums;

            @SerializedName("goods_img")
            public String goods_img;

            @SerializedName("order_id")
            public String order_id;

            @SerializedName("goods_id")
            public String goods_id;

            @SerializedName("goods_mer")
            public String goods_mer;

            @SerializedName("attr")
            public List<AttrEntity> attr;
            public static class AttrEntity extends BaseModel{

                @SerializedName("id")
                public String id;

                @SerializedName("order_did")
                public String order_did;

                @SerializedName("attr")
                public String attr;

                @SerializedName("attrval")
                public String attrval;
            }
        }
        public Boolean isCheck = false;


    }



}
